﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000011 RID: 17
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class AcceptedPamMissionExpireScRsp : IMessage<AcceptedPamMissionExpireScRsp>, IMessage, IEquatable<AcceptedPamMissionExpireScRsp>, IDeepCloneable<AcceptedPamMissionExpireScRsp>, IBufferMessage
	{
		// Token: 0x17000029 RID: 41
		// (get) Token: 0x0600009D RID: 157 RVA: 0x0000370D File Offset: 0x0000190D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<AcceptedPamMissionExpireScRsp> Parser
		{
			get
			{
				return AcceptedPamMissionExpireScRsp._parser;
			}
		}

		// Token: 0x1700002A RID: 42
		// (get) Token: 0x0600009E RID: 158 RVA: 0x00003714 File Offset: 0x00001914
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return AcceptedPamMissionExpireScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700002B RID: 43
		// (get) Token: 0x0600009F RID: 159 RVA: 0x00003726 File Offset: 0x00001926
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return AcceptedPamMissionExpireScRsp.Descriptor;
			}
		}

		// Token: 0x060000A0 RID: 160 RVA: 0x0000372D File Offset: 0x0000192D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AcceptedPamMissionExpireScRsp()
		{
		}

		// Token: 0x060000A1 RID: 161 RVA: 0x00003735 File Offset: 0x00001935
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AcceptedPamMissionExpireScRsp(AcceptedPamMissionExpireScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.mainMissionId_ = other.mainMissionId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060000A2 RID: 162 RVA: 0x00003766 File Offset: 0x00001966
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AcceptedPamMissionExpireScRsp Clone()
		{
			return new AcceptedPamMissionExpireScRsp(this);
		}

		// Token: 0x1700002C RID: 44
		// (get) Token: 0x060000A3 RID: 163 RVA: 0x0000376E File Offset: 0x0000196E
		// (set) Token: 0x060000A4 RID: 164 RVA: 0x00003776 File Offset: 0x00001976
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x1700002D RID: 45
		// (get) Token: 0x060000A5 RID: 165 RVA: 0x0000377F File Offset: 0x0000197F
		// (set) Token: 0x060000A6 RID: 166 RVA: 0x00003787 File Offset: 0x00001987
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MainMissionId
		{
			get
			{
				return this.mainMissionId_;
			}
			set
			{
				this.mainMissionId_ = value;
			}
		}

		// Token: 0x060000A7 RID: 167 RVA: 0x00003790 File Offset: 0x00001990
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as AcceptedPamMissionExpireScRsp);
		}

		// Token: 0x060000A8 RID: 168 RVA: 0x0000379E File Offset: 0x0000199E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(AcceptedPamMissionExpireScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.MainMissionId == other.MainMissionId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060000A9 RID: 169 RVA: 0x000037DC File Offset: 0x000019DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.MainMissionId != 0U)
			{
				num ^= this.MainMissionId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060000AA RID: 170 RVA: 0x00003834 File Offset: 0x00001A34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060000AB RID: 171 RVA: 0x0000383C File Offset: 0x00001A3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060000AC RID: 172 RVA: 0x00003848 File Offset: 0x00001A48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MainMissionId != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.MainMissionId);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060000AD RID: 173 RVA: 0x000038A4 File Offset: 0x00001AA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.MainMissionId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MainMissionId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060000AE RID: 174 RVA: 0x000038FC File Offset: 0x00001AFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(AcceptedPamMissionExpireScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.MainMissionId != 0U)
			{
				this.MainMissionId = other.MainMissionId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060000AF RID: 175 RVA: 0x0000394C File Offset: 0x00001B4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060000B0 RID: 176 RVA: 0x00003958 File Offset: 0x00001B58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					if (num != 64U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.MainMissionId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400002E RID: 46
		private static readonly MessageParser<AcceptedPamMissionExpireScRsp> _parser = new MessageParser<AcceptedPamMissionExpireScRsp>(() => new AcceptedPamMissionExpireScRsp());

		// Token: 0x0400002F RID: 47
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000030 RID: 48
		public const int RetcodeFieldNumber = 8;

		// Token: 0x04000031 RID: 49
		private uint retcode_;

		// Token: 0x04000032 RID: 50
		public const int MainMissionIdFieldNumber = 7;

		// Token: 0x04000033 RID: 51
		private uint mainMissionId_;
	}
}
